make 2D object move at constant speed unity

116

make 2D object move at constant speed unity -

myRigidbody.velocity = speed * (myRigidbody.velocity.normalized);

Comments

Submit
0 Comments